<template>
    <div class="warp" style="height:100%;">
        <keep-alive>
            <router-view></router-view>
        </keep-alive>
        <bottom-nav></bottom-nav>
    </div>
</template>

<script>
export default {
    name: 'KnowIndex',
    data() {
        return {
        };
    },
    mounted() {
    },
    beforeRouteEnter(to, from, next) {
        next(vm => {
            // vm.backUrl = from.path;
            if (from.path.includes('/find/') > -1) {
                vm.$store.commit('addKeepAliveList', 'KnowIndex');
            }
        });
    }
};
</script>

<style scoped>
</style>
